<?php
 	
	session_start();
	$usuario= $_GET["usuario"];
	$password= $_GET["pas"];
	if($usuario==null)
		header("Location: index.php");
	
	
	$_SESSION["usuario"] = $usuario;
	$_SESSION["password"] = $password;
	session_write_close();
	
	
	
	if($usuario=="adrinks" &&$password=="9DG7FEPB5wk"){
			header("Location: crear.php");//////
	}
	else
		header("Location: log.php?a=no valido");
?>